package com.moto.entity;

import java.io.Serializable;

import lombok.Data;

/**
 * 用户实体类
 * @author lixunhui
 * 
 */
@Data
public class MotoUser implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
     * 用户ID
     */
    private String userId;

    /**
     * 手机号码
     */
    private String userPhone;

    /**
     * 用户昵称
     */
    private String userNikename;

    /**
     * 车型 ,摩托车型号ID
     */
    private String userMototype;

    /**
     * 注册时间
     */
    private String userRegisttime;

    /**
     * 密码
     */
    private String userPassword;

    /**
     * 用户头像，存储URL
     */
    private String userHead;
    /**
     * 用户UUID
     */
    private String userUuid;
    
    /**
     * OpenId 用于第三方登录
     */
    private String userOpenId;
    
    /**
     * 用户登录平台：0: 代表正常  1: qq平台  2: 微信平台
     */
    private String userType;
    
    /**
     * 用户性别
     */
    private String userSex;
    
    /**
     * 是否被封号 1被封号 0未封号
     */
    private String userIsSeal;

	public MotoUser(String userId, String userPhone, String userNikename, String userMototype,
			 String userPassword, String userHead, String userType) {
		super();
		this.userId = userId;
		this.userPhone = userPhone;
		this.userNikename = userNikename;
		this.userMototype = userMototype;
		this.userPassword = userPassword;
		this.userHead = userHead;
		this.userType = userType;
	}

	public MotoUser(String userId, String userPhone, String userNikename, String userMototype,
			String userRegisttime, String userPassword, String userHead, String userUuid,
			String userOpenId, String userType) {
		super();
		this.userId = userId;
		this.userPhone = userPhone;
		this.userNikename = userNikename;
		this.userMototype = userMototype;
		this.userRegisttime = userRegisttime;
		this.userPassword = userPassword;
		this.userHead = userHead;
		this.userUuid = userUuid;
		this.userOpenId = userOpenId;
		this.userType = userType;
	}

	public MotoUser() {
		super();
	}
    
    
}
